import Vue from 'vue'
import App from './App'
import router from './router/router'
import elementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import {message} from './assets/js/resetMessage';

Vue.prototype.$axios=axios;
Vue.use(elementUI);
Vue.prototype.$message = message; //重写message提示框  一定要放在Vue.use(ElementUI)之后
Vue.config.productionTip = false;

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});
